ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Programming (Section 15 - No. 17)

Which statement best describes what the CASE statement is used for?
To repeatedly execute a block of code.
To execute a different block of code based on the value of a variable.
To declare variables in a program.
To perform arithmetic calculations.

Εξήγηση

The CASE statement lets you create multiple paths of execution based on a variable's value.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc